#ifndef _COMPLEXDATA_H_
#define _COMPLEXDATA_H_

#include <string>
#include <list>

struct MyStruct
{
  int nA;
  double dB;
  std::string sText;

  MyStruct():
    nA(0), dB(0.0)
  {
  }
  
  MyStruct(int nAInit, double dBInit, const std::string& sTextInit):
    nA(nAInit), dB(dBInit), sText(sTextInit)
  {
  }
};

typedef std::list<MyStruct> StructList;

struct ComplexStruct
{
  std::string sName;
  StructList lsStructs;
};

#endif
